Easy2Siksha.com
1. Speed Improvement (Throughput):
o Without pipelining → only one instruction is executed at a time.
o With pipelining → multiple instructions are executed simultaneously, just like
multiple sandwiches being made in the kitchen.
o This increases the overall speed of the processor.
2. Efficient Use of Resources:
Every part of the CPU (fetching, decoding, execution, memory access, writing results)
can work simultaneously, instead of waiting for one another.
3. Better User Experience:
Thanks to pipelining, your computer feels fast—applications open quickly, games run
smoothly, and internet browsing feels instant.
4. Foundation for Modern Designs:
Advanced CPUs like Intel’s Core series or AMD’s Ryzen use super-pipelining and
parallel pipelines to reach blazing-fast speeds.
So, pipelining is like a traffic signal system in the city—it ensures vehicles (instructions)
move in an organized, overlapping manner without wasting time.
Types of Pipelining
Just like there are different ways to manage traffic in a city, pipelining also comes in various
types. Let’s explore them in a storytelling way.
1. Instruction Pipeline
Imagine a book printing press. One person types the text, another proofreads, another
prints pages, and another binds books. They all work at the same time.
Similarly, in instruction pipelining, different stages of an instruction (Fetch, Decode,
Execute, Memory Access, Write Back) are overlapped.
• Example: While one instruction is being decoded, another is being fetched, and
another is being executed.
This is the most common form of pipelining in CPUs.
2. Arithmetic Pipeline
Suppose you are solving a large multiplication problem by hand. You break it into smaller
steps (like multiplying digits, adding partial results) and keep passing results along.
In CPUs, arithmetic operations like multiplication, division, or floating-point calculations are
broken into pipeline stages. Each stage handles part of the calculation.